package test;

import org.apache.xmlrpc.WebServer;

/**
 * Sample client invocation (cd to project directory first):
 * 
 * java -cp bin:lib/xmlrpc-1.2-b1.jar org.apache.xmlrpc.XmlRpcClient http://localhost:8080 toUpperCase test
 * 
 * The server is multi-threaded!  Concurrent requests are handled in separate threads.  
 */

public class Main {

  public static final int PORT = 8080;

  public static void main(String[] args) {
    WebServer webserver = new WebServer(PORT);
//    webserver.addHandler("$default", new DefaultHandler());
    webserver.addHandler("blah", new DefaultHandler());
    webserver.start();
  }
}